/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Monitor.Model
{

    /// <summary>
    ///  cmAlarmHistory
    /// </summary>
    public class CmAlarmHistory
    {

        ///<summary>
        /// 统计方法：平均值&#x3D;avg、最大值&#x3D;max、最小值&#x3D;min
        ///</summary>
        public string Calculation{ get; set; }
        ///<summary>
        /// ContactGroups
        ///</summary>
        public List<string> ContactGroups{ get; set; }
        ///<summary>
        /// ContactPersons
        ///</summary>
        public List<string> ContactPersons{ get; set; }
        ///<summary>
        /// 该规则是否已经被删除，1表示已经被删除，0表示未删除，被删除的规则，在使用查询规则的接口时，将不会被检索到
        ///</summary>
        public long? Deleted{ get; set; }
        ///<summary>
        /// 启用禁用 1启用，0禁用
        ///</summary>
        public long? Enabled{ get; set; }
        ///<summary>
        /// 规则id
        ///</summary>
        public string Id{ get; set; }
        ///<summary>
        /// 监控项
        ///</summary>
        public string Metric{ get; set; }
        ///<summary>
        /// 规则id监控项名称
        ///</summary>
        public string MetricName{ get; set; }
        ///<summary>
        /// 命名空间
        ///</summary>
        public string Namespace{ get; set; }
        ///<summary>
        /// 命名空间id
        ///</summary>
        public string NamespaceUID{ get; set; }
        ///<summary>
        /// 通知周期 单位：小时
        ///</summary>
        public long? NoticePeriod{ get; set; }
        ///<summary>
        /// NoticeTime
        ///</summary>
        public DateTime? NoticeTime{ get; set; }
        ///<summary>
        /// 对象
        ///</summary>
        public string Obj{ get; set; }
        ///<summary>
        /// 对象id
        ///</summary>
        public string ObjUID{ get; set; }
        ///<summary>
        /// &gt;&#x3D;、&gt;、&lt;、&lt;&#x3D;、&#x3D;、！&#x3D;
        ///</summary>
        public string Operation{ get; set; }
        ///<summary>
        /// 统计周期（单位：分钟）
        ///</summary>
        public long? Period{ get; set; }
        ///<summary>
        /// 地域信息
        ///</summary>
        public string Region{ get; set; }
        ///<summary>
        /// 此规则所应用的资源id
        ///</summary>
        public string ResourceId{ get; set; }
        ///<summary>
        /// root rule id
        ///</summary>
        public long? RootRuleId{ get; set; }
        ///<summary>
        /// rule id
        ///</summary>
        public long? RuleId{ get; set; }
        ///<summary>
        /// 规则名称
        ///</summary>
        public string RuleName{ get; set; }
        ///<summary>
        /// 报警规则对应的产品
        ///</summary>
        public string ServiceCode{ get; set; }
        ///<summary>
        /// 监控项附属信息
        ///</summary>
        public string Tag{ get; set; }
        ///<summary>
        /// 阈值
        ///</summary>
        public double? Threshold{ get; set; }
        ///<summary>
        /// 连续多少次后报警
        ///</summary>
        public long? Times{ get; set; }
        ///<summary>
        /// 报警值
        ///</summary>
        public double? Value{ get; set; }
    }
}
